<html>
	<head>
		<title>Tecnicos YA!</title>
		
		<!-- API KEY googlemaps -->
		<!-- <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?key=AIzaSyBsDZ3rcOS1HJvXCHh5PpdtjyUxj3DVib4&sensor=false"></script> -->
        
		<!-- jQuery -->
		<script type="text/javascript" src="/tecnicosya/web/js/jquery-1.10.2.min.js"></script>
		<script type="text/javascript" src="/tecnicosya/web/js/jquery-ui-1.10.3.custom.min.js"></script>
		<link type="text/css" rel="stylesheet" href="/tecnicosya/web/css/jquery/cupertino/jquery-ui-1.10.3.custom.min.css">
		
		<!-- validators -->
		<script src="/tecnicosya/web/js/jquery.validationEngine-es.js" type="text/javascript" charset="utf-8"></script>
		<script src="/tecnicosya/web/js/jquery.validationEngine.js" type="text/javascript" charset="utf-8"></script>
		<link type="text/css" rel="stylesheet" href="/tecnicosya/web/css/validationEngine.jquery.css"/>

		<!-- Aplicacion -->
		<script type="text/javascript" src="/tecnicosya/web/js/script.js"></script> 
		<!-- <script type="text/javascript" src="/tecnicosya/web/js/pruebamapa.js"></script> <!-- contiene prueba maps js -->	
		<link type="text/css" rel="stylesheet" href="/tecnicosya/web/css/style.css">

		
		<script>
			$(function(){
				// Inicializo las form-tables de la aplicacion
				$(".form-table").find("td").attr('class', 'input-wrapper');
				$(".form-table").find("label").parent().attr('class', 'label-wrapper');	
				$('#form').validationEngine();			
			});
		</script>
		
	</head>	
	<body>
		<div id="header">	
			<div id="login-container">
				<a href="javascript:login_popup_open();">Autenticarme</a> | 
				<a href="<?php echo site_url(array('inicio', 'registrar'));?>">Registro</a>
			</div>			
		</div>
		
		<div id="menu">
			 <ul>
			      <li><a href=<?php echo site_url(array('inicio', 'prueba_param', '1'));?>>INICIO</a></li>
			      <li><a href=<?php echo site_url(array('perfil'));?>>PERFIL</a></li>
			      <li><a href=<?php echo site_url(array('tecnico'));?>>TECNICOS</a></li>
			      <li><a href=<?php echo site_url(array('servicio'));?>>TIPOS DE SERVICIO</a></li>
			      <li><a href=<?php echo site_url(array('cliente'));?>>CLIENTES</a></li>
			 </ul>
		 </div>
		 				
		<div id="content"> 
			 <?php include site_path(array('app', 'views', $view), '.php');?>			 			 	
		</div>
		
		<!-- Accesible solo para la vista de inicio -->
		
				
		<div id="footer">
			<p>Tecnicos YA!. Copyright @2013 - Todos los derechos reservados.</p>
		</div>
		
		<!-- Validaciones especiales.  -->
		<script type="text/javascript" src="/tecnicosya/web/js/validaciones.js"></script>
		
		<!-- Login popup -->
		<?php include site_path(array('app', 'views', 'login_popup'), '.php');?>
		
	</body>
</html>
